package com.skivingcloud.admin.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author skivingcloud
 * @since 2022-01-29
 */
@TableName("sys_dictionary")
@ApiModel(value = "SysDictionary对象", description = "")
public class SysDictionary implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String classCode;

    private String className;

    private String dataCode;

    private String dataName;

    private Integer dataOrder;

    private String remark;

    private String state;

    @ApiModelProperty("上级id")
    private String parentId;

    @TableField(exist = false)
    private String parentName;
    
    public String getId() {
        return id;
    }

    /**
     * @return the parentName
     */
    public String getParentName() {
        return parentName;
    }

    /**
     * @param parentName the parentName to set
     */
    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getClassCode() {
        return classCode;
    }

    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }
    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
    public String getDataCode() {
        return dataCode;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode;
    }
    public String getDataName() {
        return dataName;
    }

    public void setDataName(String dataName) {
        this.dataName = dataName;
    }
    public Integer getDataOrder() {
        return dataOrder;
    }

    public void setDataOrder(Integer dataOrder) {
        this.dataOrder = dataOrder;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "SysDictionary{" +
            "id=" + id +
            ", classCode=" + classCode +
            ", className=" + className +
            ", dataCode=" + dataCode +
            ", dataName=" + dataName +
            ", dataOrder=" + dataOrder +
            ", remark=" + remark +
            ", state=" + state +
            ", parentId=" + parentId +
        "}";
    }
}
